package com.mmall.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.mmall.model.SysRoleAcl;

public interface SysRoleAclMapper {
    int deleteByPrimaryKey(String id);

    int insert(SysRoleAcl record);

    int insertSelective(SysRoleAcl record);

    SysRoleAcl selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(SysRoleAcl record);

    int updateByPrimaryKey(SysRoleAcl record);

    List<String> getAclIdListByRoleIdList(@Param("roleIdList") List<String> roleIdList);

    void deleteByRoleId(@Param("roleId") String roleId);

    void batchInsert(@Param("roleAclList") List<SysRoleAcl> roleAclList);

    List<String> getRoleIdListByAclId(@Param("aclId") String aclId);
}